<?php

class Config{
    const Redis_HostPort_Logs	= "r-wz94614545860734.redis.rds.aliyuncs.com:6379";
    const Redis_Password_Logs	= "Xx20180701";
    const Redis_Database_Logs	= 0;
    const Redis_HostPort		= "r-wz94614545860734.redis.rds.aliyuncs.com:6379";
    const Redis_Password		= "Xx20180701";
    const Redis_Database		= 21;

    //db
    const DB_Host			= "rm-wz97m7f230mzxryh5.mysql.rds.aliyuncs.com";
    const DB_Port			= "3306";
    const DB_User			= "proadmin";
    const DB_Password		= "Xiuxian2018";
    const DB_Name			= "xiuxian";
    const DB_Charset		= "utf8mb4";

    const Timer_Address =  "127.0.0.1";
    const Timer_Port      =  "30219";
    const GameClient_Port =  "30212";
    const GameServer_Port =  "30211";

    const Ticket_Mode	= 2;	//房卡支付形式，1AA，2房主
    const Room_IsReuse	= 0;	//房间是否重复使用，0否1是
    const GameNum_EachTicket = 4;	//局数
    //const Room_AutoBreak	= 1;	//房间是否自动解散，0否1是
    const Log_Dir	=	 "/data/wwwlogs/workman/yxx/";

    const Verification_Code = "987654321098765432109876543210zz";

    const Can_BreakRoom         = 1;	//是否能主动下庄

    /*	上庄分数	*/
    const BankerScore_1		= 0;
    const BankerScore_2		= 300;
    const BankerScore_3		= 500;
    const BankerScore_4		= 1000;

    /*	游戏人数范围	*/
    const GameUser_MinCount		= 2;
    const GameUser_MaxCount		= 12;

    //房卡消耗
    const Rule_TicketType_1		= 3;
    const Rule_TicketType_2		= 6;

}
